package com.ruoyi.biz.service.diskfile;

import java.nio.file.Path;
import java.util.stream.Stream;

import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;

public interface IFileItemStoreService {

	public void init();

	public void save(MultipartFile file, String sub);

	public Resource load(String filename, String sub);

	public boolean delete(String filename, String sub);

	public Stream<Path> loadAll(String sub);

}
